/**
 * memberBanksDaoHibernate
 *
 * 项目名称:分秒金融
 *
 * @author lunli
 *
 * 功能描述:App活动管理
 * 
 * 历史版本:2017-06-29 v1.0.0 lunli  创建:
 * 
 */
 package com.fmjr.member.memberBanks.dao;
 
import com.fmjr.member.memberBanks.bean.MemberBanks;
import java.util.List;
import com.fmjr.common.base.util.Pager;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface MemberBanksDao{
	
	public Integer createMemberBanks(MemberBanks memberBanks);

	public Integer deleteMemberBanksById(Long id);

	public Integer updateMemberBanks(MemberBanks memberBanks);
	public Integer updateMemberBanksSelective(MemberBanks memberBanks);

	public List<MemberBanks> selectMemberBanksAll();

	public MemberBanks selectMemberBanksByT(MemberBanks memberBanks);
	
	public MemberBanks selectMemberBanksById(Long id);
	
	public List<MemberBanks> selectMemberBanksList(Pager<MemberBanks> pager);	
	
	public Integer selectMemberBanksCount(Pager<MemberBanks> pager);
	
	public void insertMemberBanksBatch(List<MemberBanks> list);

	public void deleteMemberBanksByCardNo(@Param(value="bankCardNo") String bankCardNo);

	public List<MemberBanks> selectMemberBanksByCardNo(@Param(value="bankCardNo")  String bankCardNo);
	
}
